<%-- $Id: artistList.jsp 84 2006-08-06 19:44:24Z huijzer $ --%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>

	<head>
		<title>Artist :: List</title>
		<meta name="object" content="artist">
	</head>

	<body>

		<div id="apphead">
			<h2>Artist :: <em>List</em></h2>
		</div>

		<div id="projecthome" class="app">

			<table border="1" cellspacing="2" cellpadding="3" width="100%">
				<tr>
					<th>Name</th>
					<th>Actions</th>
				</tr>
				<c:forEach items="${list}" var="artist" varStatus="status">
					<tr class="${status.count % 2 == 0 ? 'b' : 'a'}">
						<td>
							<a href="<c:url value="/admin/artistDisplay.action?id=${artist.id}"/>">${artist.name}</a>
						</td>
						<td>
							<a href="<c:url value="/admin/artistEdit.action?id=${artist.id}"/>">edit</a>
						</td>
					</tr>
				</c:forEach>
			</table>

		</div>

	</body>

</html>
